package personal.hrsw1.demo1.mapper;

import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import personal.hrsw1.demo1.domain.SysOrderDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author Administrator
* @description 针对表【sys_order_detail】的数据库操作Mapper
* @createDate 2025-04-25 16:15:00
* @Entity personal.hrsw1.demo1.domain.SysOrderDetail
*/
@Mapper
@TableName("syod")
public interface SysOrderDetailMapper extends BaseMapper<SysOrderDetail> {
    @Select("select * from sys_order_detail")
    List<SysOrderDetail> selectAll();
    @Select("select * from sys_order_detail where id=#{id}")
    List<SysOrderDetail> findAll();
}




